package com.ruoyi.wms.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 采购申请明细对象 wms_procure_item
 * 
 * @author yy
 * @date 2024-02-15
 */
public class WmsProcureItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 部门id */
    private Long id;
    private Long headId;
    /** 仓库id */
    private Long deptId;

    /** 仓库名称 */
    @Excel(name = "仓库名称")
    private String deptName;

    /** 物品编号 */
    @Excel(name = "物品编号")
    private String code;

    /** 物品名称 */
    @Excel(name = "物品名称")
    private String name;

    /** 规格型号 */
    @Excel(name = "规格型号")
    private String model;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /** 采购数量 */
    @Excel(name = "采购数量")
    private BigDecimal quantity;

    /** 计划单价 */
    @Excel(name = "计划单价")
    private BigDecimal planUnitPrice;

    /** 总价 */
    @Excel(name = "总价")
    private BigDecimal totalPrice;

    /** 状态 */
    private String status;
    private String inputCode;
    private String inQuantity;

    public String getInQuantity() {
        return inQuantity;
    }

    public void setInQuantity(String inQuantity) {
        this.inQuantity = inQuantity;
    }

    public String getInputCode() {
        return inputCode;
    }

    public void setInputCode(String inputCode) {
        this.inputCode = inputCode;
    }

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public Long getHeadId() {
        return headId;
    }

    public void setHeadId(Long headId) {
        this.headId = headId;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setDeptName(String deptName) 
    {
        this.deptName = deptName;
    }

    public String getDeptName() 
    {
        return deptName;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setModel(String model) 
    {
        this.model = model;
    }

    public String getModel() 
    {
        return model;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setQuantity(BigDecimal quantity) 
    {
        this.quantity = quantity;
    }

    public BigDecimal getQuantity() 
    {
        return quantity;
    }
    public void setPlanUnitPrice(BigDecimal planUnitPrice) 
    {
        this.planUnitPrice = planUnitPrice;
    }

    public BigDecimal getPlanUnitPrice() 
    {
        return planUnitPrice;
    }
    public void setTotalPrice(BigDecimal totalPrice) 
    {
        this.totalPrice = totalPrice;
    }

    public BigDecimal getTotalPrice() 
    {
        return totalPrice;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deptId", getDeptId())
            .append("deptName", getDeptName())
            .append("code", getCode())
            .append("name", getName())
            .append("model", getModel())
            .append("type", getType())
            .append("unit", getUnit())
            .append("quantity", getQuantity())
            .append("planUnitPrice", getPlanUnitPrice())
            .append("totalPrice", getTotalPrice())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
